package com.neuedu.abst;

public class Tiger  extends  Animal{
    public Tiger(String name, double weight) {
        super(name, weight);
    }

    //子类需要实现父类的抽象方法
    @Override
    public void eat() {
        System.out.println("老虎"+this.name+" 在吃牛肉");
    }


}
